//工作流程---------------------------

import WorkFlow from '@/views/WorkFlow'
import FilingWork from '@/views/WorkFlow/FilingWork'
import MyApproval from '@/views/WorkFlow/MyApproval'
import MyCopy from '@/views/WorkFlow/MyCopy'
import MyWork from '@/views/WorkFlow/MyWork'
import SigManage from '@/views/WorkFlow/SigManage'
import TemManage from '@/views/WorkFlow/TemManage'
import templateEditing from "@/views/WorkFlow/TemManage/Templateediting.vue"
import Templatemanagement from "@/views/WorkFlow/TemManage/Templatemanagement.vue"
import signatureManagement from "@/views/WorkFlow/SigManage/Signaturemanagement.vue"
import newTemplate from "@/views/WorkFlow/TemManage/Newtemplate.vue"
import stepManagement from "@/views/WorkFlow/TemManage/Stepmanagement/Stepmanagement.vue"
import stepEdit from "@/views/WorkFlow/TemManage/Stepmanagement/Stepedit.vue"
import addSigManagement from "@/views/WorkFlow/SigManage/Addsigmanagement.vue"
import myWork from "@/views/WorkFlow/MyWork/Mywork.vue";
import addWork from "@/views/WorkFlow/MyWork/components/addwork/addwork.vue";
import mySend from "@/views/WorkFlow/MyCopy/mysend.vue";
import sendView from "@/views/WorkFlow/MyCopy/sendView.vue";
import filingWork from "@/views/WorkFlow/FilingWork/Filingwork.vue";
import filingView from "@/views/WorkFlow/FilingWork/filingView.vue"



export default
[
    {
        path: '/workFlow',
        name: 'workFlow',
        meta:{
          title:"工作流程"
        },
        component:WorkFlow,
        children:[
          {
            path: 'temManage', 
            name: 'temManage',
            meta:{
              title:"模板管理"
            },
            component: TemManage,
            
           
          },
          {
            path: '/temManage', 
            name: 'temManage',
            meta:{
              title:"模板管理"
            },
            component: TemManage,
            
           
          },
          {
            path: "/templateEditing",
            name: "templateEditing",
            component: templateEditing,
          },
          {
            path: "/Templatemanagement",
            name: "Templatemanagement",
            component:Templatemanagement,
          },
          {
            path: "/newTemplate",
            name: "newTemplate",
            component:newTemplate,
          },
          {
            path: "/stepManagement",
            name: "stepManagement",
            component:stepManagement,
          },
          {
            path: "/stepEdit",
            name: "stepEdit",
            component:stepEdit,
          },
          {
            path: 'sigManage', 
            name: 'sigManage',
            meta:{
              title:"签章管理"
            },
            component: SigManage,
            
          },
          {
            path: '/sigManage', 
            name: 'sigManage',
            meta:{
              title:"签章管理"
            },
            component: SigManage,
            
          },
          {
            path: "/signatureManagement",
            name: "signatureManagement",
            component:signatureManagement,
          },
          {
            path: "/addSigManagement",
            name: "addSigManagement",
            component:addSigManagement,
          },

          {
            path: 'myWork', 
            name: 'myWork',
            component: MyWork,
          },
          {
            path: '/myWork', 
            name: 'myWork',
           
            component: MyWork,
          },
          {
            path: '/myWork', 
            name: 'myWork',
            component: myWork,
          },
          {
            path: '/addWork', 
            name: 'addWork',
            component: addWork,
          },
          {
            path: '/sendView', 
            name: 'sendView',
            component: sendView,
          },
          {
            path: 'myApproval', 
            name: 'myApproval',
            meta:{
              title:"我的审批"
            },
            component: MyApproval,
          },
          {
            path: 'myCopy', 
            name: 'myCopy',
            meta:{
              title:"我的抄送"
            },
            component: MyCopy,
          },
          {
            path: '/mySend', 
            name: 'mySend',
            component: mySend,
          },
          
          {
            path: 'FilingWork', 
            name: 'FilingWork',
            meta:{
              title:"归档工作"
            },
            component: FilingWork,
          },
          {
            path: '/filingWork', 
            name: 'filingWork',
            meta:{
              title:"归档工作"
            },
            component: filingWork,
          },
          {
            path: '/filingView', 
            name: 'filingView',
            meta:{
              title:"归档工作"
            },
            component: filingView,
          },
        ]
      },
      
]